package com.tsd.jxc.stock.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.stock.entity.JxcStockTransferExt;
import com.tsd.jxc.stock.entity.JxcStockTransferItem;
import com.tsd.jxc.stock.entity.JxcStockTransferItemExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcStockTransferItem服务实现层接口
 *
 * @author Hillpool
 * @date 2022/12/12 11:32:10
 */
public interface JxcStockTransferItemService {

    /**
     * 描述：根据id获取JxcStockTransferItem
     *
     * @param id
     */
    JxcStockTransferItem getJxcStockTransferItemById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcStockTransferItem
     *
     * @param sid
     */
    JxcStockTransferItemExt queryBySid(String sid) throws Exception;

    List<JxcStockTransferItemExt> queryValidByTransferList(List<String> bill_list);

    /**
     * 描述：根据sid列表删除JxcStockTransferItem
     *
     * @param list
     */
    void deleteJxcStockTransferItems(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcStockTransferItem
     *
     * @param record
     * @param opUser
     */
    void saveJxcStockTransferItem(JxcStockTransferItemExt record, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcStockTransferItem
     *
     * @param record
     * @param opUser
     */
    void saveJxcStockTransferItem(JxcStockTransferExt record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcStockTransferItem
     *
     * @param params
     * @param page
     */
    List<JxcStockTransferItemExt> findJxcStockTransferItems(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcStockTransferItem
     *
     * @param params
     */
    List<JxcStockTransferItemExt> findJxcStockTransferItems(Map<String, Object> params) throws Exception;


    List<JxcStockTransferItemExt> queryValidByOrderList(List<String> order_list);


}